package com;

import com.service.impl.UserServieImpl;
import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

public class Main {
    public static void main(String[] args) {
        ApplicationContext context = new AnnotationConfigApplicationContext("com");

        UserServieImpl userServie = context.getBean(UserServieImpl.class);
        // userServie.delete();


        int result = userServie.add(5, 6);
        System.out.println("结果：" + result);

    }
}
